package com.codejam.winter.service.interfaces.impl;

import com.codejam.winter.dal.dao.UserMapper;
import com.codejam.winter.dal.dataobject.User;
import com.codejam.winter.service.interfaces.IServiceUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * created by zhaosen @ 2020/2/1
 * @author Admin
 */
@Component
public class ServiceUserImpl implements IServiceUser {

    @Autowired
    private UserMapper userDAO;

    @Override
    public User getUser() {
        return  userDAO.getUser();
    }
}
